package com.godme.entity;


import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "person")
public class Person {

    @Id
    @Column(name = "id")
    private Integer id;


    @Column(name = "uid")
    private Integer uid;

    @Column(name = "oid")
    private Integer oid;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    @Override
    public String toString() {
        return "Person{" +
                "id=" + id +
                ", uid=" + uid +
                ", oid=" + oid +
                '}';
    }
}
